package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryOrder;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Address;
import com.itheima.pojo.Order;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface OrderSettingListService {


    PageResult findPage(QueryOrder queryOrder) throws Exception;

    void changeStatus(Map map);

    List<Setmeal> findAll();


    Result add(Map map)throws Exception;


    List<Integer> findById(int id);

    void edit(Map map) throws Exception;

    List<Address> findAllAddress();


    List<Integer> findAddressIdByOrderId(int id);

    void delete(int id);
}
